//
//  Events.swift
//  mall-ios
//
//  Created by Meak Tsui on 2018/11/26.
//  Copyright © 2018 Meak Tsui. All rights reserved.
//

import Foundation

public struct Ns : Hashable, Equatable, RawRepresentable {
    public var rawValue: String
    
    public init(_ rawValue:String) {
        self.rawValue = rawValue
    }
    public init(rawValue:String) {
        self.init(rawValue)
    }
}

public struct Api : Hashable, Equatable, RawRepresentable {
    public var rawValue: String
    
    public init(_ rawValue:String) {
        self.rawValue = rawValue
    }
    public init(rawValue:String) {
        self.init(rawValue)
    }
}


extension Api {
    public static let Set = Api("set")
    public static let Get = Api("get")
    public static let To = Api("to")
    public static let Back = Api("back")
    public static let SetBadge = Api("setBadge")
}
